﻿using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class AmbulanceBLL
    {
        private AmbulanceDAL dal = new AmbulanceDAL();
        public object GetAmbulanceList(int pageSize, int pageIndex, string CenterID, string StationID, string GroupID, string RealSign, bool isDaiMing, bool isRenWu, bool isZanTing, bool isXiaBan)
        {
            return dal.GetAmbulanceList(pageSize, pageIndex, CenterID, StationID, GroupID, RealSign, isDaiMing, isRenWu, isZanTing, isXiaBan);
        }

        public object GetTalarmEventInfo(string CenterID)
        {
            return dal.GetTalarmEventInfo(CenterID);
        }

        public object GetTalarmEventList(int pageSize, int pageIndex, DateTime StartTime, DateTime EndTime, string LocalAddress, string SendAddress, string Tel, string UserId, string CenterID)
        {
            return dal.GetTalarmEventList(pageSize, pageIndex, StartTime, EndTime, LocalAddress, SendAddress, Tel, UserId, CenterID);
        }

        public object GetAmbulanceNum(string CenterID)
        {
            return dal.GetAmbulanceNum(CenterID);
        }

        public object GetAmbLastGPS(string CenterID)
        {
            return dal.GetAmbLastGPS(CenterID);
        }

        public object GetStationInfo(string CenterID)
        {
            return dal.GetStationInfo(CenterID);
        }

        public object GetHospitalInfo(string CenterID)
        {
            return dal.GetHospitalInfo(CenterID);
        }

        public object GetXYInfoByTaskCode(string TaskCode)
        {
            return dal.GetXYInfoByTaskCode(TaskCode);
        }

        public object GetGpsTrack(string AmbulanceCode, DateTime StartTime, DateTime EndTime, bool IsFilterStop)
        {
            return dal.GetGpsTrack(AmbulanceCode, StartTime, EndTime, IsFilterStop);
        }

        public object GetExcuteAlarmEventInfo(string CenterID)
        {
            return dal.GetExcuteAlarmEventInfo(CenterID);
        }

        public object GetDutyTypeAmbNum(string CenterID)
        {
            return dal.GetDutyTypeAmbNum(CenterID);
        }

        public object GetWayStandByAmbNum(string CenterID)
        {
            return dal.GetWayStandByAmbNum(CenterID);
        }

        public object GetStationStandByAmbNum(string CenterID)
        {
            return dal.GetStationStandByAmbNum(CenterID);
        }

        public object GetCurrentTaskInfo(string CenterID)
        {
            return dal.GetCurrentTaskInfo(CenterID);
        }
    }
}
